package com.yswy.common.wxOrder.V2.wxconfig;


/**
 * 静态常量 请勿将配置文件读取的加入此类
 *
 * @author Matt
 */
public class WxConstant {
    /*------------------------------------------------支付返回码-------------------------------------------------*/
    /**
     * 成功状态
     */
    public final static String SUCCESS = "SUCCESS";

    /**
     * 微信支付 返回码
     */
    public final static String WX_PAY_RETURN_CODE = "return_code";

    /**
     * 微信支付 结果码
     */
    public final static String WX_PAY_RESULT_CODE = "result_code";

    /**
     * 支付宝异步回调返回状态码 -交易支付成功
     */
    public static final String ALI_PAY_TRADE_SUCCESS = "TRADE_SUCCESS";

    /**
     * 支付宝异步回调返回状态码 -交易结束，不可退款
     */
    public static final String ALI_PAY_TRADE_FINISHED = "TRADE_FINISHED";

    /**
     * 支付宝异步回调返回状态码 -交易创建，等待买家付款
     */
    public static final String ALI_PAY_WAIT_BUYER_PAY = "WAIT_BUYER_PAY";

    /**
     * 支付宝异步回调返回状态码 -未付款交易超时关闭，或支付完成后全额退款
     */
    public static final String ALI_PAY_TRADE_CLOSED = "TRADE_CLOSED";

    /**
     * 微信支付异步回调返回状态码 -支付成功
     */
    public static final String WECHAT_ORDER_SUCCESS = "SUCCESS";

    /**
     * 微信支付异步回调返回状态码 -转入退款
     */
    public static final String WECHAT_ORDER_REFUND = "REFUND";

    /**
     * 微信支付异步回调返回状态码 -未支付
     */
    public static final String WECHAT_ORDER_NOTPAY = "NOTPAY";

    /**
     * 微信支付异步回调返回状态码 -已关闭
     */
    public static final String WECHAT_ORDER_CLOSED = "CLOSED";

    /**
     * 微信支付异步回调返回状态码 -支付中
     */
    public static final String WECHAT_ORDER_USERPAYING = "USERPAYING";

    /**
     * 微信支付异步回调返回状态码 -支付失败
     */
    public static final String WECHAT_ORDER_PAYERROR = "PAYERROR";


    /**
     * 短信发送缓存手机号
     */
    public static final String SMS_SEND_PHONE = "sms_send_phone:";


    /**
     * 短信验证码Redis Key 登录
     */
    public final static String SMS_AGENT_LOGIN = "sms_agent_login_code:";

    /**
     *支付宝h5支付
     */
    public final static  Integer ALIPAY_H5 = 2;

    /*------------------------------------------------支付端-------------------------------------------------*/

    /**
     * 微信支付 app
     */
    public static final String WECHAT_PAY_APP = "APP";

    /**
     * 微信支付 小程序
     */
    public static final String WECHAT_PAY_JSAPI = "JSAPI";

    /**
     * 微信支付 扫码支付
     */
    public static final String WECHAT_PAY_NATIVE = "NATIVE";

    /**
     * 微信支付 h5
     */
    public static final String WECHAT_PAY_MWEB = "MWEB";

    /*------------------------------------------------参数key-------------------------------------------------*/


    /**
     * 微信找人代付标识
     */
    public static final String AGENT = "D";

    /**
     *代理登录token缓存
     */
    public static final String AGENT_TOKEN = "agent_token:";




}
